import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2024-02-20
 * Time:18:01
 */
public class Test {
    public static void main(String[] args) {
        int[] arr = {3,3,3,1,2,1,1,2,3,3,4};
        int ret = Solution.totalFruit(arr);
        System.out.println(ret);
    }
}
